﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SAreaManagerAgentDetail.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.FXModel.SAreaManagerAgentDetail" %>

<%--区域经理对应的经销商--%>


<div class="pageContent" style="border-bottom:1px #B8D0D6 solid;border-left:1px #B8D0D6 solid;border-right:1px #B8D0D6 solid" >
    <div class="panelBar">
        <ul class="toolBar">
              <% if (HasPower(IHISCETeim.Web.Permission.新增) && UserID>0)
              {%>
            <li><a class="edit" href="FXModel/SAreaManagerAgentAdd.aspx?UserID=<%=UserID %>" rel="SAreaManagerAgentAdd" target="dialog" title="分配经销商" max=false  mask=true  maxable=false  minable=false  resizable=false drawable=true  width="520" height="200" ><span>分配经销商</span></a></li>
          <%} %>
          
           <% if (HasPower(IHISCETeim.Web.Permission.删除))
               {%>
            <li><a class="delete" href="sysAjaxDone.ashx?ajaxmethod=deleteSAreaManagerAgent&id={sid_user}" target="ajaxTodo" title="确定要删除此区域经理的经销商吗?"><span>删除</span></a></li>
           <%} %>
        </ul>
    </div>
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="99%" layouth="62">
        <thead>
            <tr  >          
                <th width="60" >区域经理</th>
                <th width="130" >
                    经销商
                </th>        
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" rel="<%# Eval("ID") %>">                
				<td><%# GetRealName(Eval("UserId"))%></td>
				<td><%# Eval("AliasName")%></td>
              
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
    
</div>

